export const isTestNode = node => node.nodeType === 3 && /\{\{(.*)\}\}/.test(node.textContent)

export const isElement = node => node.nodeType === 1